var envConfig = require('../env/env.config');
var env = process.env.NODE_ENV || 'local';

// ******************************* java服务端接口地址 ***********************
const domain = envConfig[env].domain;
const serverUrl = envConfig[env].serverUrl;
const serverUrl_BI = envConfig[env].serverUrl_BI;
const folderAuthUrl = envConfig[env].folderAuthUrl;

// ****************************** Node服务端接口地址 *************************
const nodeServerUrl = envConfig[env].nodeServerUrl;
const nodeProtalUrl = envConfig[env].nodeProtalUrl;

// ****************************** redis host地址 ***************************
const redisUrl = envConfig[env].redisUrl;
const redisAuth = envConfig[env].redisAuth;

const authUrl = envConfig[env].authUrl;
const gatewayUrl = envConfig[env].gatewayUrl;

const ossBucket = envConfig[env].ossBucketName;

const azureConnectingString = envConfig[env].azureConnectingString;

//默认语言环境，繁体/简体判断依据
const defaultLang = envConfig[env].language.default;

exports.domain = domain;
exports.nodeServerUrl = nodeServerUrl;
exports.nodeProtalUrl = nodeProtalUrl;
exports.serverUrl = serverUrl;
exports.serverUrl_BI = serverUrl_BI;
exports.redisUrl = redisUrl;
exports.redisAuth = redisAuth;
exports.ossBucket = ossBucket;
exports.azureConnectingString = azureConnectingString;
exports.defaultLang = defaultLang;
exports.authUrl = authUrl;
exports.gatewayUrl = gatewayUrl;
exports.folderAuthUrl = folderAuthUrl;
